/**
 * @property {number} type - uuid of task
 */
export interface Task {
  readonly id: number
  title: string
  type: number
  isMyDay: boolean
  isDone: boolean
  isMain: boolean
  repeat?: number
  description?: string
  step?: {
    schedule: string[]
    progress: number
  }
  ddl?: number
  remind?: number
}

export interface State {
  $state: Task[]
  [key: string]: any
}
